package com.cs4261.smartalarm.backend;


public class Alarm {
	private long id;
	private String name;
	private int active;
	private int hour, minute;
	private int repeat;
	private int sunday, monday, tuesday, wednesday, thursday, friday, saturday;
	
	private int weatherActive;
	private int w1, w2, w3, w4;
	
	private int trafficActive;
	private long location1, location2;
	
	private int snooze;
	private String tone;
	
	/**
	 * 
	 */
	public Alarm() {
		this(-1, null);
	}

	/**
	 * @param id
	 * @param name
	 */
	public Alarm(long id, String name) {
		this.id = id;
		this.name = name;
		this.active = 1;
	}
	
	/**
	 * @param id
	 */
	public void setId(long id) {
		this.id = id;
	}
	
	/**
	 * @return
	 */
	public long getId() {
		return id;
	}
	
	/**
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * @return
	 */
	public String getName() {
		return name;
	}
	
	public int getActive() {
		return active;
	}
	
	/**
	 * @param bool
	 */
	public void setActive(int bool) {
		this.active = bool;
	}

	public int getHour() {
		return hour;
	}

	public void setHour(int hour) {
		this.hour = hour;
	}

	public int getMinute() {
		return minute;
	}

	public void setMinute(int minute) {
		this.minute = minute;
	}

	public int getRepeat() {
		return repeat;
	}

	public void setRepeat(int repeat) {
		this.repeat = repeat;
	}

	public int getSunday() {
		return sunday;
	}

	public void setSunday(int sunday) {
		this.sunday = sunday;
	}

	public int getMonday() {
		return monday;
	}

	public void setMonday(int monday) {
		this.monday = monday;
	}

	public int getTuesday() {
		return tuesday;
	}

	public void setTuesday(int tuesday) {
		this.tuesday = tuesday;
	}

	public int getWednesday() {
		return wednesday;
	}

	public void setWednesday(int wednesday) {
		this.wednesday = wednesday;
	}

	public int getThursday() {
		return thursday;
	}

	public void setThursday(int thursday) {
		this.thursday = thursday;
	}

	public int getFriday() {
		return friday;
	}

	public void setFriday(int friday) {
		this.friday = friday;
	}

	public int getSaturday() {
		return saturday;
	}

	public void setSaturday(int saturday) {
		this.saturday = saturday;
	}

	public int getWeatherActive() {
		return weatherActive;
	}

	public void setWeatherActive(int weatherActive) {
		this.weatherActive = weatherActive;
	}

	public int getW1() {
		return w1;
	}

	public void setW1(int w1) {
		this.w1 = w1;
	}

	public int getW2() {
		return w2;
	}

	public void setW2(int w2) {
		this.w2 = w2;
	}

	public int getW3() {
		return w3;
	}

	public void setW3(int w3) {
		this.w3 = w3;
	}

	public int getW4() {
		return w4;
	}

	public void setW4(int w4) {
		this.w4 = w4;
	}

	public int getTrafficActive() {
		return trafficActive;
	}

	public void setTrafficActive(int trafficActive) {
		this.trafficActive = trafficActive;
	}

	public long getLocation1() {
		return location1;
	}

	public void setLocation1(long location1) {
		this.location1 = location1;
	}

	public long getLocation2() {
		return location2;
	}

	public void setLocation2(long location2) {
		this.location2 = location2;
	}

	public int getSnooze() {
		return snooze;
	}

	public void setSnooze(int snooze) {
		this.snooze = snooze;
	}

	public String getTone() {
		return tone;
	}

	public void setTone(String tone) {
		this.tone = tone;
	}	
}